
public boolean equals(Object obj) {
	if (this == obj)
		return true;
	if (obj == null)
		return false;
	if (getClass() != obj.getClass())
		return false;
	Employee other = (Employee) obj;
	if (!super.equals(other)) 
		return false;
	if (company == null) {
		if (other.company != null)
			return false;
	} else if (!company.equals(other.company))
		return false;
	DecimalFormat df = new DecimalFormat("#.##");
	if (df.format(salary)!=df.format(other.salary))
		return true;
	return true;
}